package com.zxl.feign;

import com.zxl.vo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @packageName com.zxl.feign
 * @ClassName
 * @Author zxl
 * @Description //TODO
 * @date
 **/
@FeignClient(
        value = "goods",
        path = "/goods"
)
public interface GoodsFeign {

    @RequestMapping("/list")
    List<Goods> list();
}
